<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动练习</title>
    <link rel="stylesheet" href="./index4.css">
    <style>
        .circle {
            width: 50px;
            height: 50px;
            border-radius: 25px;
            float: left;
            text-align: center;
            line-height: 50px;
            margin-right: 20px;
            border: 2px red solid;
            color: white;
        }
        .circle:nth-child(2n-1) {
            background-color: blue;
        }
        .circle:nth-child(2n) {
            background-color: black;
        }
    </style>
</head>
<body>
    <div class="top-nav">
        <ul>
            <li><a href="./1css样式二.html">css样式二</a></li>
            <li><a href="./键盘焦点与鼠标悬停.html">导航菜单</a></li>
            <li><a target="_blank" href="./字体图标练习.html">字体图标</a></li>
            <li><a href="./立方体动画.html">立方体动画</a></li>
        </ul>
        </div>
    <div class="circle">1</div>
    <div class="circle">2</div>
    <div class="circle">3</div>
    <div class="circle">4</div>
    <div class="circle">5</div>
    <div class="circle">6</div>
    <div class="circle">7</div>
    <div class="circle">8</div>
    <div class="circle">9</div>
    <div class="circle">10</div>
    <div class="circle">11</div>
    <div class="circle">12</div>
    <div class="circle">13</div>
    <div class="circle">14</div>
    <div class="circle">15</div>
    <div class="circle">16</div>
    <div class="circle">17</div>
    <div class="circle">18</div>
    <div class="circle">19</div>
    <div class="circle">20</div>
    <div class="circle">21</div>
    <div class="next"><a href="./浮动练习1.html">点我去浮动练习</a></div>
</body>
</html>